Optimal. Leaf size=311 \[ -\frac {f (a+b x)^{1+m} (c+d x)^{3-m}}{5 (b e-a f) (d e-c f) (e+f x)^5}-\frac {f (b (6 d e-c f (4-m))-a d f (2+m)) (a+b x)^{1+m} (c+d x)^{3-m}}{20 (b e-a f)^2 (d e-c f)^2 (e+f x)^4}-\frac {(b c-a d)^3 \left (2 a b d f (5 d e-c f (3-m)) (1+m)-a^2 d^2 f^2 \left (2+3 m+m^2\right )-b^2 \left (20 d^2 e^2-10 c d e f (3-m)+c^2 f^2 \left (12-7 m+m^2\right )\right )\right ) (a+b x)^{1+m} (c+d x)^{-1-m} \, _2F_1\left (4,1+m;2+m;\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{20 (b e-a f)^6 (d e-c f)^2 (1+m)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.23, antiderivative size = 310, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {105, 156, 12,
133} \begin {gather*} -\frac {(b c-a d)^3 (a+b x)^{m+1} (c+d x)^{-m-1} \left (-a^2 d^2 f^2 \left (m^2+3 m+2\right )+2 a b d f (m+1) (5 d e-c f (3-m))-\left (b^2 \left (c^2 f^2 \left (m^2-7 m+12\right )-10 c d e f (3-m)+20 d^2 e^2\right )\right )\right ) \, _2F_1\left (4,m+1;m+2;\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{20 (m+1) (b e-a f)^6 (d e-c f)^2}-\frac {f (a+b x)^{m+1} (c+d x)^{3-m} (-a d f (m+2)-b c f (4-m)+6 b d e)}{20 (e+f x)^4 (b e-a f)^2 (d e-c f)^2}-\frac {f (a+b x)^{m+1} (c+d x)^{3-m}}{5 (e+f x)^5 (b e-a f) (d e-c f)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 105
Rule 133
Rule 156
Rubi steps
\begin {align*} \int \frac {(a+b x)^m (c+d x)^{2-m}}{(e+f x)^6} \, dx &=-\frac {f (a+b x)^{1+m} (c+d x)^{3-m}}{5 (b e-a f) (d e-c f) (e+f x)^5}-\frac {\int \frac {(a+b x)^m (c+d x)^{2-m} (-b (5 d e-c f (4-m))+a d f (2+m)+b d f x)}{(e+f x)^5} \, dx}{5 (b e-a f) (d e-c f)}\\ &=-\frac {f (a+b x)^{1+m} (c+d x)^{3-m}}{5 (b e-a f) (d e-c f) (e+f x)^5}-\frac {f (6 b d e-b c f (4-m)-a d f (2+m)) (a+b x)^{1+m} (c+d x)^{3-m}}{20 (b e-a f)^2 (d e-c f)^2 (e+f x)^4}+\frac {\int \frac {\left (-2 a b d f (5 d e-c f (3-m)) (1+m)+a^2 d^2 f^2 \left (2+3 m+m^2\right )+b^2 \left (20 d^2 e^2-10 c d e f (3-m)+c^2 f^2 \left (12-7 m+m^2\right )\right )\right ) (a+b x)^m (c+d x)^{2-m}}{(e+f x)^4} \, dx}{20 (b e-a f)^2 (d e-c f)^2}\\ &=-\frac {f (a+b x)^{1+m} (c+d x)^{3-m}}{5 (b e-a f) (d e-c f) (e+f x)^5}-\frac {f (6 b d e-b c f (4-m)-a d f (2+m)) (a+b x)^{1+m} (c+d x)^{3-m}}{20 (b e-a f)^2 (d e-c f)^2 (e+f x)^4}-\frac {\left (2 a b d f (5 d e-c f (3-m)) (1+m)-a^2 d^2 f^2 \left (2+3 m+m^2\right )-b^2 \left (20 d^2 e^2-10 c d e f (3-m)+c^2 f^2 \left (12-7 m+m^2\right )\right )\right ) \int \frac {(a+b x)^m (c+d x)^{2-m}}{(e+f x)^4} \, dx}{20 (b e-a f)^2 (d e-c f)^2}\\ &=-\frac {f (a+b x)^{1+m} (c+d x)^{3-m}}{5 (b e-a f) (d e-c f) (e+f x)^5}-\frac {f (6 b d e-b c f (4-m)-a d f (2+m)) (a+b x)^{1+m} (c+d x)^{3-m}}{20 (b e-a f)^2 (d e-c f)^2 (e+f x)^4}-\frac {(b c-a d)^3 \left (2 a b d f (5 d e-c f (3-m)) (1+m)-a^2 d^2 f^2 \left (2+3 m+m^2\right )-b^2 \left (20 d^2 e^2-10 c d e f (3-m)+c^2 f^2 \left (12-7 m+m^2\right )\right )\right ) (a+b x)^{1+m} (c+d x)^{-1-m} \, _2F_1\left (4,1+m;2+m;\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{20 (b e-a f)^6 (d e-c f)^2 (1+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.71, size = 271, normalized size = 0.87 \begin {gather*} \frac {(a+b x)^{1+m} (c+d x)^{-1-m} \left (-\frac {4 f (c+d x)^4}{(e+f x)^5}-\frac {f (6 b d e+b c f (-4+m)-a d f (2+m)) (c+d x)^4}{(b e-a f) (d e-c f) (e+f x)^4}+\frac {(b c-a d)^3 \left (-2 a b d f (5 d e+c f (-3+m)) (1+m)+a^2 d^2 f^2 \left (2+3 m+m^2\right )+b^2 \left (20 d^2 e^2+10 c d e f (-3+m)+c^2 f^2 \left (12-7 m+m^2\right )\right )\right ) \, _2F_1\left (4,1+m;2+m;\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{(b e-a f)^5 (d e-c f) (1+m)}\right )}{20 (b e-a f) (d e-c f)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \frac {\left (b x +a \right )^{m} \left (d x +c \right )^{2-m}}{\left (f x +e \right )^{6}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (a+b\,x\right )}^m\,{\left (c+d\,x\right )}^{2-m}}{{\left (e+f\,x\right )}^6} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________